package com.ss.android.wenda.answer.detail2;

import com.ss.android.article.base.feature.detail.presenter.DetailLoader;
import com.ss.android.article.base.feature.detail.presenter.CommentFetcher;
import com.ss.android.article.base.feature.detail.presenter.ArticleTabCommentsRequestTask;
import com.ss.android.common.load.AsyncLoader.LoaderProxy;

final class d implements LoaderProxy {
    private final a a;

    d(com.ss.android.wenda.answer.detail2.a arg1) {
        this.a = arg1;

    }

    public final Object doInBackground(Object key, Object param, Object extra) {
        return Boolean.valueOf(ArticleTabCommentsRequestTask.requestComments(this.a.a, ((CommentFetcher) param)));
    }

    public final void onLoaded(Object key, Object param, Object extra, Object result) {
        Object v0 = this.a.b.get();
        if(v0 != null) {
            ((DetailLoader.Callback)v0).onCommentLoaded(((CommentFetcher) param), ((Boolean) result).booleanValue());
        }
    }
}

